// pages/paySuccess/paySuccess.js
Page({

    /**
     * 页面的初始数据
     */
    data: {
        orderId: 0
    },

    /**
     * 生命周期函数--监听页面加载
     */
    onLoad: function(e) {
        var orderId = e.orderId;
        this.setData({ orderId: orderId });

    },
    orderDetail: function() {
        wx.redirectTo({
            url: '../orderDetail/orderDetail?orderId=' + this.data.orderId
        })
    }


})